package com.woniuxy.service;


import com.woniuxy.entity.AddQuestionEntity;
import com.woniuxy.entity.QuestionOption;
import com.woniuxy.entity.QuestionTopic;
import com.woniuxy.entity.ResponseEntity;

import java.util.List;
import java.util.Map;

public interface QuestionService {
    ResponseEntity addQuestionDan(AddQuestionEntity addQuestionEntity);
    ResponseEntity addOption(QuestionOption questionOption);

   // ResponseEntity updateQuestion(QuestionEntity questionEntity);

    String[] findSub();
    String[] findGrade();

    List<QuestionTopic> findAllQ(Map map);

    //查询题目详情
    List<QuestionTopic> findQbyid(Integer id);

    //删除题目
    ResponseEntity deleteQbyId(Integer id);

    List<QuestionTopic> findQubyid(Integer id);
}
